Skip to content

CommandSignal.ExecuteAsync() method

Defined in

Type: CommandSignal Namespace: ReactiveUI.Primitives.Signals Assembly: ReactiveUI.Primitives.Core.dll

Applies to

net10.0, net10.0, net10.0-desktop1.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-browserwasm1.0, net9.0, net9.0, net9.0-desktop1.0, net9.0-desktop1.0, net9.0-browserwasm1.0, net9.0-browserwasm1.0, net8.0, net8.0, net8.0-ios17.5, net8.0-macos14.5, net8.0-macos14.5, net8.0-macos14.2, net8.0-macos14.2, net8.0-maccatalyst17.5, net8.0-maccatalyst17.5, net8.0-tvos17.2, net8.0-tvos17.2, net8.0-ios17.5, netstandard2.1, netstandard2.1, net481, net462, net462, net481

Overloads

  • 1. public CommandExecution<TResult> ExecuteAsync()
  • 2. public CommandExecution<TResult> ExecuteAsync(CancellationToken cancellationToken)

1. Overload

public CommandExecution<TResult> ExecuteAsync()

View source

Summary: Executes the command if allowed and publishes the result or fault.

Returns: CommandExecution -- The command result.

2. Overload

public CommandExecution<TResult> ExecuteAsync(CancellationToken cancellationToken)

View source

Summary: Executes the command if allowed and publishes the result or fault.

Parameters

NameTypeDescription
cancellationTokenCancellationTokenCancellation token for the operation.

Returns: CommandExecution -- The command result.